<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>首页</title>
<script src="${request.contextPath}/resources/style/js/sdmenu.js" ></script>
<script src="${request.contextPath}/resources/style/js/jquery/jquery-1.7.1.min.js" ></script>
<link href="${request.contextPath}/resources/style/css/css.css" rel="stylesheet" type="text/css"/>
<link href="${request.contextPath}/resources/style/css/window.css" rel="stylesheet" type="text/css"/>

<script src="${request.contextPath}/resources/style/js/bootstrap.min.js" ></script>
<link href="${request.contextPath}/resources/style/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

</head>
<body>
<#include "../top.htm">
<div class="hide-top">
</div>
<#include "../leftMenu.htm">
<div class="main float-left" align='center'>
		<div class='main-info' style='width:90%;'  align='left'>
				<div class="help-main">
					 <table>
						<tr>
							<td>
								<ul class='help-menu'  style="width:150px">
									<li><a href="#" class='clickUrl'>帮助选项</a></li>
									<li><a href="#">帮助选项</a></li>
									<li><a href="#">帮助选项</a></li>
									<li><a href="#">帮助选项</a></li>
								</ul>
							</td>
							<td><div class='help-info'>	
								您也可以一次删除/回收多个文件。使用文章左侧的复选框，选择您需要操作的文件，然后从“批量操作”下拉菜单中选择您的操作类型。
								点击“应用”，操作即生效。在使用”批量编辑“时，您可以一次编辑这些文章的多个属性（分类目录、作者等）。
								要从待编辑文章中移除某篇，请在”批量编辑“区域中点击其标题旁边的“x”。
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="float-right help-div"> 帮助</div>
				
				<div style="padding-top:10px"><font class="font-size1">栏目</font></div>
				
			 
				 <br/>
				<br/>
			 	<form action="${request.contextPath}/admin/forum/update" method="post">
			 		<input type="hidden" name="forumsid" id="forumsid" value="${forum.forumsid}"></input>
			 		<input type="hidden" name="forumstops" id="forumstops" value="${forum.forumstops}"></input>
					<div  class='text-left'>
						<div>栏目名称：&nbsp;<input name="name" value="${forum.name}"/></div>
						<div>所属板块：&nbsp;
						<select  style='width:150px' name="categoryid">
							<#if categorys??>
								<#list categorys as category>	
								<option value="${category.categoryid}" <#if category.categoryid==forum.categoryid>"selected=selected"</#if> >${category.name}</option>
								</#list>
					    	</#if>
						</select>
						</div>
						<div>栏目排序：&nbsp;<input name="forumorder" value="${(forum.forumorder)?default("0")}"/></div>
						<div>栏目描述：&nbsp;<input name="description" value="${(forum.description)?default("")}"/></div>
						<div>是否匿名：&nbsp;
							<select name="cananonymous">
								<option value="1" ${forum.cananonymous?string("selected=selected","")}>匿名</option>
								<option value="0" ${forum.cananonymous?string("","selected=selected")}>不匿名</option>
							</select>
						</div>
						<div class='data-list' >
							<input type="submit" value="Submit" />
						</div>	
					</div>
				</form>
		</div>
	</div>
</body>
</html>
<script type="text/javascript">
	// <![CDATA[
	var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
		myMenu.init();
		var firstSubmenu = myMenu.submenus[0];
		myMenu.expandMenu(firstSubmenu);
	};
		if(jQuery(window).height()>960){
			jQuery('.main').width('960px');
		}else{
		  jQuery('.main').width(jQuery(window).width()-140);
		}
		jQuery('.menu').height(jQuery('.main').height());
		jQuery(function(){
			jQuery('.help-div').click(function(){
				jQuery('.help-main').toggle();
			})
			jQuery('div.main .data-list  table td').hover(function(){
				jQuery(this).find('.handle-info').toggle();
			})
		})
	// ]]>
	</script>
		<#include "../../../widgets/googleAnalytics.htm">